package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.PrdCaseManage;
import com.fdb.efp.nls.service.vo.PrdCaseManageVO;

import java.util.List;

/**
 * <p>DAO interface:产品专案管理表				<p>
 * @author fuzm
 * @date 2018-05-07
 */
public interface PrdCaseManageDao {
	
	public int insertPrdCaseManage(PrdCaseManage prdCaseManage);
	
	public int deleteByPk(PrdCaseManage prdCaseManage);
	
	public int updateByPk(PrdCaseManage prdCaseManage);
	
	public PrdCaseManage queryByPk(PrdCaseManage prdCaseManage);
	
	public List<PrdCaseManage> queryAllOwnerByPage(PrdCaseManageVO prdCaseManage);
	
	public List<PrdCaseManage> queryAllCurrOrgByPage(PrdCaseManageVO prdCaseManage);
	
	public List<PrdCaseManage> queryAllCurrDownOrgByPage(PrdCaseManageVO prdCaseManage);

	public int updateCaseStatusByPrdId(PrdCaseManage inPrdCaseManage);
	
	public List<PrdCaseManage> queryPrdCaseManageByPrdCodeTime(PrdCaseManageVO prdCaseManage);
	
	public List<PrdCaseManage> queryPrdCaseManageByPrdCode(PrdCaseManageVO prdCaseManage);
	
	public int effictivePrdCaseManages(PrdCaseManage prdCaseManage);
	
	public int expiryPrdCaseManages(PrdCaseManage prdCaseManage);
}
